﻿using System;

namespace Texfina.Core.Common
{
   public class ConstSistema
   {
      public static readonly string CONFIGDATA = "ConfigData.xml";
      public static readonly string LOGO_WEBPAGE = "wfLogo.aspx?Filter=1";
      public static readonly string ROOT_FOLDER_PATH = "~/Reports";
      public static readonly string ROOT_IMAGES_PATH = "~/Images";
      public static readonly string OTHERFILES_PATH = "~/OtherFiles";
      public static readonly string ROOT_ENA_ICONS_PATH = ROOT_IMAGES_PATH + "/Icons/Enabled";
      public static readonly string ROOT_DIS_ICONS_PATH = ROOT_IMAGES_PATH + "/Icons/Disabled";
      public static readonly string SYS_NAME = "TEXFINA.NET";
      public static readonly string APSET_AD_DOMAIN = "ActiveDirectoryDomain";
      public static readonly string APSET_AD_LDAP = "ActiveDirectoryLDAP";
      public static readonly string ROOT_UPLOADFOLDER_PATH = "~/UploadFiles";
   }

   public class ConstAuthenticationType
   {
      public static readonly string LDAP = "LdapAuthentication";
      public static readonly string FORM = "Forms";
   }

   public class ConstSeguridadGrupo
   {
      public static readonly string ADMINS = "G0001";
   }

   public class ConstSegTipoUsuario
   {
      public static readonly string GRUPO = "G";
      public static readonly string USUARIO = "U";
   }

   public class ConstQueryString
   {
      public static readonly string OPTION_FILTER = "optFilter";
   }

   public class ConstSessionVar
   {
      public static readonly string LAST_ERR = "_LASTERR";
      public static readonly string EMPRESA = "_EMP";
      public static readonly string PERIODO = "_PERIODO";
      public static readonly string USERLOGON = "_USERLOG";
      public static readonly string USERID = "_USERID";
      public static readonly string ISADM = "_ISADM";
      public static readonly string HOST_NAME = "REMOTE_HOST";
      public static readonly string REPORT_SOURCE = "_RPTSRC";
      public static readonly string UFILTER = "_FILTER";
      public static readonly string MESSAGE = "_MSG";

   }

   public class ConstFlagEstado
   {
      public static readonly string ACTIVADO = "1";
      public static readonly string DESACTIVADO = "0";
   }

   public class ConstRowDeleted
   {
      public static readonly string ACTIVE = "0";
      public static readonly string DELETE = "1";
      public static readonly string LOCAL_DELETE = "2";
   }

   public class ConstDefaultValue
   {
      public static readonly string PERIODO = "0000";
      public static readonly string EMPRESA = "000";
   }

   public class ConstGridRowCommand
   {
      public const string GRIDNEW = "CmdNew";
      public const string GRIDCOPY = "CmdCopy";
      public const string GRIDEDIT = "CmdEdit";
      public const string GRIDDELETE = "CmdDel";
      public const string GRIDPREVIEW = "CmdPrev";
      public const string GRIDCHECK = "CmdCheck";
      public const string GRIDDOWLOAD = "CmdDow";
   }

   public class ConstCustomFirstListItem
   {
      public const string ITEM_ALL = "(TODOS)";
      public const string ITEM_NONE = "(NINGUNO)";
      public const string ITEM_SELECT = "(SELECCIONE)";
   }

   public class ConstHTMLTagValue
   {
      public const string GRID_CELL_EMPTY = "&nbsp;";
   }

   //******************** Constantes ***********************************
   public class ConstMenuToolbarValue
   {
      public const string BUTTON_NEW = "_BTTNEW";
      public const string BUTTON_COPY = "_BTTCOPY";
      public const string BUTTON_EDIT = "_BTTEDIT";
      public const string BUTTON_DELETE = "_BTTDEL";
      public const string BUTTON_PREVIEW = "_BTTPREVI";
      public const string BUTTON_PRINT = "_BTTPRN";
      public const string BUTTON_SAVE = "_BTTSAVE";
      public const string BUTTON_SAVENEW = "_BTTSAVNEW";
      public const string BUTTON_SAVEOK = "_BTTSAVOK";
      public const string BUTTON_SAVEOBS = "_BTTSAVOBS";
      public const string BUTTON_EXIT = "_BTTEXIT";
      public const string BUTTON_EXPORT = "_BTTEXPO";
      public const string BUTTON_CALCULAR = "_BTTCALC";
   }

   public class ConstGridToolbarValue
   {
      public const string GRIDNEW = "_GRDNEW";
      public const string GRIDCOPY = "_GRDCOPY";
      public const string GRIDEDIT = "_GRDEDIT";
      public const string GRIDDELETE = "_GRDDEL";
   }

   public class ConstTipoAuditoria
   {
       public const string NEW = "001";
       public const string EDIT = "002";
       public const string DELETE = "003";
       public const string ERROR = "004";
   }
}